package homework1;

public class NormalMail extends Mail {
	private String reciver;
	private String cc;
	public NormalMail(String attachment, String subject, String content, String sender, String sendTime,
			String status,String Reciver,String cc) {
		super(attachment, subject, content, sender, sendTime, status);
		setReciver(Reciver);
		setCc(cc);
	}
	
	
	public String getReciver() {
		return reciver;
	}


	public void setReciver(String reciver) {
		this.reciver = reciver;
	}


	public String getCc() {
		return cc;
	}


	public void setCc(String cc) {
		this.cc = cc;
	}


	public NormalMail() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public void send() {
		System.out.printf(getAttachment()+getSubject()+getContent()+getSender()+getSendTime()+getStatus()+getReciver()+getCc());

	}

}
